import javax.faces.bean.ManagedBean;



@ManagedBean(name="aritimeticaBean")
public class AritimeticaBean {
	
	public String aritimetica(){
		return "aritimetica";
	}
	
	public double getN1() {
		return n1;
	}

	public void setN1(double n1) {
		this.n1 = n1;
	}

	public double getN2() {
		return n2;
	}

	public void setN2(double n2) {
		this.n2 = n2;
	}

	public double getSoma() {
		return n1+n2;
	}

	public void setSoma(double soma) {
		this.soma = soma;
	}

	public double getSubtracao() {
		return n1-n2;
	}

	public void setSubtracao(double subtracao) {
		this.subtracao = subtracao;
	}

	double n1,n2,soma,subtracao;
	

}
